#include<bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
const int N=2e5+10;
#define INF 0x3f3f3f3f;
typedef long long int ll;
#define close(); std::ios::sync_with_stdio(false);cin.tie(0),cout.tie(0);
//----------------------------------------------------------------------------//

void solve()
{
	int n;
    cin>>n;
    ll sum1=0,sum2=0;
    while(n--)
	{

        int a;
        cin>>a;
        if(a%2==0){
            sum1+=a;
        }
        else sum2+=a;

    }
    if(sum1>sum2){
        cout<<"Yes"<<endl;
    }
    else cout<<"No"<<endl;



}

int main()
{
	close();
	int T; cin>>T;
	while (T--) solve();
	return 0;
}

